<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-3">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-3">{:__('Is_bank')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_bank]', ['1'=>__('是'), '0'=>__('不是')],$row.is_bank)}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-3">{:__('Sc_radio')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sc_radio" class="form-control" step="0.01" name="row[sc_radio]" type="number" value="{$row.sc_radio|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-3">{:__('Min_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-min_fee" class="form-control" step="0.01" name="row[min_fee]" type="number" value="{$row.min_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-3">{:__('Max_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-max_fee" class="form-control" step="0.01" name="row[max_fee]" type="number" value="{$row.max_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-3">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[status]', ['normal'=>__('Normal'), 'hidden'=>__('Hidden')],$row.status)}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-3"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
